package com.hy.erp.inventory.service.interfaces;

import java.util.List ;

//import javax.ejb.Local ;

import com.hy.enterprise.framework.service.business.IBusinessService;
import com.hy.erp.inventory.pojo.PositionType;
import com.hy.erp.inventory.pojo.interfaces.IPositionType;
import com.hy.erp.inventory.service.PositionTypeService;
import com.hy.framework.lang.annotation.ImplementsBy;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;

/**
 * 
 * <ul>
 * <li>开发作者：汤莉</li>
 * <li>设计日期：2010-10-13；时间：上午11:43:24</li>
 * <li>类型名称：IPositonTypeService</li>
 * <li>设计目的：</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
//@Local
@ImplementsBy(PositionTypeService.class)
//public interface IPositonTypeService extends IBusinessService < IPositonType >
//public interface IPositonTypeService extends IBusinessService < PositonType >
public interface IPositionTypeService extends IBusinessService 
{
	public boolean addPositonType(PositionType positonType);
	
	public Integer removePositonType(String[] Ids);
	
	public boolean modifyPositionType(PositionType positonType);
	public String[] modifyPositionType(Object[] objects);
	public String[] addPositonType(Object[] objects);
	
	public List < IPositionType > getAllPositonType();
	public PositionType  findPositonTypeById(String id);

	boolean submitPersistentEntities(MyBaseModel[] positonType);

	boolean submitPersistentEntities2(List<MyBaseModel> list);

	boolean submitPersistentEntities(List<MyBaseModel> list);
}
